<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<html>
<head>
    <title>Insert title here</title>
</head>
<body>
<h3>这是一个测试对象属性信息监听器的页面</h3>
<%
    getServletContext().setAttribute("username", "John Doe");
    getServletContext().setAttribute("username", "Jane Smith");
    getServletContext().removeAttribute("username");
    session.setAttribute("username", "John Doe");
    session.setAttribute("username", "Jane Smith");
    session.removeAttribute("username");
    request.setAttribute("username", "John Doe");
    request.setAttribute("username", "Jane Smith");
    request.removeAttribute("username");
%>
</body>
</html>
